﻿using Microsoft.AspNetCore.Mvc;
using My.Admin.Dto.System;
using My.Admin.Model;
using My.Admin.Model.System;
using My.Core.DynamicProxy;
using My.Core.Service.IService;

namespace My.Admin.Service.System.IService
{
	public interface ISysDictDataService : IBaseService<SysDictData>, ITransientAutoInject
	{
		public Task<PagedInfo<SysDictData>> Page(PageDictDataInput input);
		public Task<List<SysDictData>> GetList([FromQuery] GetDataDictDataInput input);
		public Task AddDictData(AddDictDataInput input);
		public Task UpdateDictData(UpdateDictDataInput input);
		public Task DeleteDictData(DeleteDictDataInput input);
		public  Task<SysDictData> GetDetail([FromQuery] DictDataInput input);
		public Task SetStatus(DictDataInput input);
		public Task<List<SysDictData>> GetDictDataListByDictTypeId(long dictTypeId);
		public Task<List<SysDictData>> GetDataList(string code);
		public Task<List<SysDictData>> GetDataList([FromQuery] QueryDictDataInput input);
		public  Task DeleteDictData(long dictTypeId);
	}
}
